﻿<Window x:Class="WPFUserInterface.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WPFUserInterface"
        mc:Ignorable="d"
        Title="MainWindow" Height="700" Width="825" FontSize="16" WindowStartupLocation="CenterScreen">
    <Grid Margin="20">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Margin="10 0" FontSize="28">
            Simple Async Demo App
        </TextBlock>
        <Button x:Name="executeSync" Grid.Row="1" Margin="10" Padding="10" Click="executeSync_Click">Normal Execute</Button>
        <Button x:Name="executeAsync" Grid.Row="2" Margin="10" Padding="10" Click="executeAsync_Click">Async Execute</Button>
        <Button x:Name="executeParallelAsync" Grid.Row="3" Margin="10" Padding="10" Click="executeParallelAsync_Click">Parallel Async Execute</Button>
        <Button x:Name="cancelOperation" Grid.Row="4" Margin="10" Padding="10" Click="cancelOperation_Click">Cancel Operation</Button>
        <ProgressBar x:Name="dashboardProgress" Value="0" Height="30" Margin="10" Grid.Row="5" />
        <TextBlock x:Name="resultsWindow" Grid.Row="6" Margin="10"/>
    </Grid>
</Window>
